GXPrintingDispatch
You can use theGXPrintingDispatch
function to make calls across segment boundaries.
OSErr GXPrintingDispatch (long selector, ...);
selector
- The selector for the printing message that you want to dispatch.
...
- The parameters that the message expects.
DESCRIPTION
TheGXPrintingDispatch
function calls a function that is located in a different code segment. You need to do this if the code to implement a single message override is too large to fit into one segment. This function uses the same information as does thePRINTINGDISPATCH
macro, which provides a simpler technique for calling across segment boundaries. To use theGXPrintingDispatch
function, you construct your own selector, as described on page 5-12, and use it as a parameter to the function.SEE ALSO
An example of using theGXPrintingDispatch
function is shown on page 5-12.The
PRINTINGDISPATCH
macro method of calling across segments is described in the section "Segmenting Your Driver Code" beginning on page 5-12.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help